#include<iostream>
#include<cstring>
using namespace std;

const int N = 110;
char chs[N];

int main()
{
	cin >> chs;
	int i = 0;
	while (chs[i + 1])
	{
		char temp = chs[i] + chs[i+1];
		cout << temp;
		i++;
	}
	cout << (char)(chs[i] + chs[0]) << endl; 
	
	
	return 0;
}
